
package za.ac.cput.peterjohn.DesignPatternPrincipals.Behavioral.Memento.Factory;

import za.ac.cput.peterjohn.DesignPatternPrincipals.Behavioral.Memento.Model.DietInfoCaretaker;
import za.ac.cput.peterjohn.DesignPatternPrincipals.Behavioral.Memento.Model.DietInfo;


public class MementoFactory
{

    public static DietInfoCaretaker createCaretaker() 
    {
       DietInfoCaretaker caretaker  = new DietInfoCaretaker();
       return caretaker;
    }

    public static DietInfo createDietInfo(String fred, int i, int i0) 
    {
        DietInfo info = new DietInfo(fred, i, i0);
        return info;
    }
}